<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script src="./js/ajax.js"></script>
  <script>
    // ajax("get", "http://127.0.0.1:3000/user/login", "userName=zhangsan1&password=123", true, function (res) {
    //   console.log(res)
    // })
    // ajax("post", "http://127.0.0.1:3000/user/reg", "phone=1234&pass=123144", true, function (res) {
    //   console.log(res)
    // })

    // ajax("post", "http://127.0.0.1:3000/user/reg", { phone: 16888888888, pass: 623468 }, true, function (res) {
    //   console.log(res)
    // })
  </script>
</body>

</html>